#include <fermat/benchmark/fermat_benchmark.h>
#include <fermat/util/crc.h>
#include <cstring>

static const char *buff = "ewewrwrsddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd";
 
BENCHMARK(util, crc16, 10, 1000)
{
    fermat::crc16(buff, strlen(buff));     
}

BENCHMARK(util, crc32, 10, 1000)
{
    fermat::crc32(buff, strlen(buff));     
}

BENCHMARK(util, crc64, 10, 1000)
{
    fermat::crc64(buff, strlen(buff));     
}